
import './style/App.scss'
import routes from './route';
import { useRoutes } from 'react-router-dom';
import { Suspense } from 'react'

function App() {

  return (
    <div className="App">
      <Suspense fallback={<div>loading...</div>}>
        {
          useRoutes(routes)
        }
      </Suspense>
    </div>
  );
}

export default App;
